import instance from "./axios";

export const getCaptcha = async () => {
    const result = await instance.get('/auth/captcha')
    return result.data.data
}

export const loginApi = async (body) => {
    const result = await instance.post('/auth/login', body)
    return result.data
}